package com.wxw.BaseLibrary.decoding;

import android.content.Intent;
import android.graphics.Bitmap;
import android.os.Handler;
import com.google.zxing.Result;
import com.wxw.BaseLibrary.component.ViewfinderView;

/**
 * Created by david on 2015-04-23.
 */
public interface ICaptureActivity {
    Handler getHandler();
    ViewfinderView getViewfinderView();
    void handleDecode(Result result, Bitmap barcode);
    void drawViewfinder();
    void startNewActivity(Intent intent);
    void returnResult(int code, Intent intent);
}
